ThemeIsle\GutenbergBlocks\Plugins\Block_Conditions A

Total Complexity 71
Dependencies 2
Dependents 0
Total lines 407
Lines of code 224
Logical lines of code 133
Comment lines 121
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
evaluate_condition()
C
39 24 69
should_add_hide_css_class()
A
45 10 42
render_blocks()
S
59 8 13
evaluate_condition_collection()
S
55 7 22
get_hide_css_condition()
S
60 6 13
has_user_roles()
S
64 3 10
init()
S
69 2 6
add_attributes_to_blocks()
S
65 2 9
has_author()
S
65 2 9
instance()
S
70 2 7
is_type()
S
75 1 4
has_category()
S
65 1 10
has_stripe_product()
S
76 1 4
__clone()
S
78 1 3
__wakeup()
S
78 1 3